package com.ymt.bpm.service.engine.bpd;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.ymt.bpm.model.PBpdCatetree;

/**
 * Created by Johnny on 2017/4/6.
 */
public interface BpdCateService {

    JSONArray getCateTree(String tenantId, String lang, int timezoneOffset);

    JSONObject saveCate(String tenantId, String loginName, String displayName, String ip, PBpdCatetree catetree);

    JSONObject delete(String tenantId, String loginName, String displayName, String ip, String id, String tType, boolean cascade);

    String checkName(String tenantId, String parentId, String name);

    JSONObject addBpdToCate(String tenantId, boolean check, PBpdCatetree catetree);

    JSONObject getBpdTreeDhx(String tenantId);

}
